import { App } from "./app"

export class MiuiAodApp extends App {
    constructor() {
        super(MiuiAodApp.packageName, `休眠`)
    }
    render(): void {
        device.wakeUpIfNeeded()
    }
    static packageName: string = `com.miui.aod`
    static is(app: App) {
        return app.packageName === MiuiAodApp.packageName
    }
}